package com.example.mapper;

import com.example.entity.Params;
import com.example.entity.Pet;
import com.example.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PetMapper {
    List<Pet> findBySearch(@Param("params") Params params);


    List<Pet> findAll();
    int deleteById(Integer id);

    int add(Pet pet);

    int update(Pet pet);
}
